package com.woniuxy.pxxt.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 时间工具类
 * @Author: QinYD
 * @Date: 2022/3/8 09:30
 * @Description:
 */

public class DateUtil {

    public static String format(Date date, String yyyyMMddHHmmss) {
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
        return simpleDateFormat.format(date);
    }
}
